package com.aptech.yuanhuabao.api.soap.response;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.Namespace;
import org.simpleframework.xml.Root;

/**
 * des:
 * Created by zhh_li
 * on 2017/1/18.
 */

/*@NamespaceList({
        @Namespace(reference = "http://www.w3.org/2001/XMLSchema-instance", prefix = "xsi"),
        @Namespace(reference = "http://www.w3.org/2001/XMLSchema", prefix = "xsd"),
        @Namespace(reference = "http://schemas.xmlsoap.org/soap/encoding/", prefix = "enc"),
})*/
@Root(name = "soapenv:Envelope")
@Namespace(reference = "http://schemas.xmlsoap.org/soap/envelope/", prefix = "soapenv")
public class LoginResponseEnvelope {
    @Element(name = "Body")
    public LoginResponseBody body;

    public LoginResponseBody getBody() {
        return body;
    }
}

/**
 *

 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <ns1:checkSLogonResponse xmlns:ns1="http://mobile.webservice.ipc.net2com.com/">
            <return><?xml version="1.0" encoding="utf-8"?>
            <message>
                <domainId>bj</domainId>
                <phone>95013800</phone>
                <extension>950138006447</extension>
                <deviceId>201000001423</deviceId>
                <userName>201000001423</userName>
                <password>NERGMjZCNUE1M0RDRTg5QzgxNDQ5QTg2QTZBREU3MzU=</password>
                <rtpEncrypt>0</rtpEncrypt>
                <sipIp>117.122.192.150</sipIp>
                <sipPort>6020</sipPort>
                <encryptSipIp>117.122.192.150</encryptSipIp>
                <encryptSipPort>6022</encryptSipPort>
                <url>http%3A%2F%2F210.21.118.219%3A8288%2Fnew_interface%2F</url>
                <sUrl>https%3A%2F%2Fweihua-meeting.95voice.com%3A8443%2Fnew_interface%2F</sUrl>
                <xmppUrl>http%3A%2F%2Fim.95voice.com%3A5280%2Fuserstatus</xmppUrl>
                <sXmppUrl>https%3A%2F%2Fim-https.95voice.com%3A7443%2Fuserstatus</sXmppUrl>
                <xmppTpns>http%3A%2F%2F117.122.192.149%3A8082</xmppTpns>
                <xmppDomain>im.95voice.com</xmppDomain>
                <xmppPort>5222</xmppPort>
                <xmppAccount>950138006447</xmppAccount>
                <xmppPwd>Rjc2Q0ExQUNENTQwQTExNEIwMzJCMDhFREI3MTZBQzg=</xmppPwd>
                <name>N2C_MOBILE_CLIENT_CHECK_LOGON</name>
                <result>SUCCESS</result>
            </message></return>
        </ns1:checkSLogonResponse>
    </soap:Body>
 </soap:Envelope>
 */